spring:
  application:
    name: statistics-service
  cloud:
    config:
      uri: http://config:8888
      fail-fast: true
      password: sesame
      username: user
      retry:
        max-attempts: 20
        initial-interval: 3000
        multiplier: 1.3
        max-interval: 5000
  datasource:
    driver-class-name: org.postgresql.Driver
    url: jdbc:postgresql://gog-db:5432/gog
    username: goguser
    password: gogpassword
    # Keep the connection alive if idle for a long time (needed in production)
    tomcat:
      test-while-idle: true
      validation-query: SELECT 1
  jpa:
    show-sql: true
    hibernate:
      ddl-auto: none
    properties:
      hibernate:
        dialect: org.hibernate.dialect.PostgreSQLDialect
  main:
    allow-bean-definition-overriding: true